package tt.dz.entity.station;
import java.util.Date;
import java.util.List;

import tt.dz.util.annotation.*;

/**
 * 站点表
 * 
 * @author pengyu
 */
@Table(name="oms_station")
public class OmsStation {
	@PrimaryKey
	@Display("站点ID")
	private String station_id;//站级编号
	@QueryLikeParam
	@Display("站点名称")
	private String station_name;//站点名称
	@Display("充电运营服务商ID")
	private String oper_merchant_id;//充电运营服务商ID
	@Ignore
	@IgnoreInOutput
	private String oper_name;//充电服务商名称
	@Display("区县代码")
	private String district_code;//区县代码
	@Display("区县名称")
	private String district_name;//区县名称
	@Display("商圈/楼盘")
	private String circle;//商圈/楼盘
	@Display("停车处")
	private String parking_type;//停车处
	@Display("停车处大体位置")
	private String parking_addr;//停车处大体位置
	@Ignore(isOtherTable=true)
	@IgnoreInOutput
	private String province_code;//省
	@Ignore
	@IgnoreInOutput
	private String photo;//环境照片URL路径
	@Ignore
	@IgnoreInOutput
	private List<OmsStationLocation> locationList;//坐标集合
	@Display("总电桩数")
	private Integer total_charger;//总电桩数
	@Display("建立时间")
	private Date establish_time;//建立时间
	@Display("站点类型")
	private Integer station_type;//站点类型
	@Display("桩是否对外开放")
	private Integer is_allow_open;//桩是否对外开放,0：不允许；1：允许
	@Display("详细地址")
	private String address;//详细地址
	@Display("当前状态")
	private Integer current_state;//当前状态
	@Display("直流桩数量")
	private Integer direct_num;//直流桩数量
	@Display("交流桩数量")
	private Integer alternate_num;//交流桩数量
	@Display("自营电话")
	private String tel_no;//电话
	@Display("是否可租车")
	private Integer is_rent;
	@Display("站点描述")
	private String describes;//站点描述
	@Display("归属类型")
	private String entity_type;//0：独立存在(平台管理员)；1：运营商；2：运营商分支机构；3：厂商；4：合作商（例如五十所）。
	@Display("归属实体id")
	private String entity_id;//归属实体id\
	@IgnoreInOutput
	private Integer valid_flag;//有效标记
	@Display("审核状态")
	private Integer review_state;//0待审核1，审核中2，通过3，不通过
	@Display("审核说明")
	private String review_text;//审核说明
	@IgnoreInOutput
	private Date create_time;//创建时间
	@IgnoreInOutput
	private String create_oper_id;//创建人id
	@IgnoreInOutput
	private Date update_time;//更新时间
	@IgnoreInOutput
	private String update_oper_id;//修改人id
	@Display("评分")
	private Float score;//评分
	@Display("总充电次数")
	private Integer total_charge;//总充电次数
	@Display("每月场地费")
	private Integer sitecost_per_month;//UPDATE  oms_station  set sitecost_per_month =  FLOOR(1 + (RAND() * 99));
	
	public OmsStation() {
		super();
	}
	
	
	
	public OmsStation(String station_id) {
		super();
		this.station_id = station_id;
	}



	public Integer getSitecost_per_month() {
		return sitecost_per_month;
	}

	public void setSitecost_per_month(Integer sitecost_per_month) {
		this.sitecost_per_month = sitecost_per_month;
	}

	public Float getScore() {
		return score;
	}
	public void setScore(Float score) {
		this.score = score;
	}	
	public String getOper_name() {
		return oper_name;
	}
    public void setOper_name(String oper_name) {
		this.oper_name = oper_name;
	}
	public String getProvince_code() {
		return province_code;
	}
	public void setProvince_code(String province_code) {
		this.province_code = province_code;
	}	
	public String getStation_id() {
		return station_id;
	}
	public void setStation_id(String station_id) {
		this.station_id = station_id;
	}
	public String getStation_name() {
		return station_name;
	}
	public void setStation_name(String station_name) {
		this.station_name = station_name;
	}
	public String getOper_merchant_id() {
		return oper_merchant_id;
	}
	public void setOper_merchant_id(String oper_merchant_id) {
		this.oper_merchant_id = oper_merchant_id;
	}
	public String getDistrict_code() {
		return district_code;
	}
	public void setDistrict_code(String district_code) {
		this.district_code = district_code;
	}
	public String getCircle() {
		return circle;
	}
	public void setCircle(String circle) {
		this.circle = circle;
	}
	
	public String getParking_type() {
		return parking_type;
	}
	public void setParking_type(String parking_type) {
		this.parking_type = parking_type;
	}
	public String getParking_addr() {
		return parking_addr;
	}
	public void setParking_addr(String parking_addr) {
		this.parking_addr = parking_addr;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public Integer getTotal_charger() {
		return total_charger;
	}
	public void setTotal_charger(Integer total_charger) {
		this.total_charger = total_charger;
	}
	public Date getEstablish_time() {
		return establish_time;
	}
	public void setEstablish_time(Date establish_time) {
		this.establish_time = establish_time;
	}
	public Integer getStation_type() {
		return station_type;
	}
	public void setStation_type(Integer station_type) {
		this.station_type = station_type;
	}
 
	public Integer getIs_allow_open() {
		return is_allow_open;
	}

	public void setIs_allow_open(Integer is_allow_open) {
		this.is_allow_open = is_allow_open;
	}

	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getCurrent_state() {
		return current_state;
	}
	public void setCurrent_state(Integer current_state) {
		this.current_state = current_state;
	}
	public Integer getDirect_num() {
		return direct_num;
	}
	public void setDirect_num(Integer direct_num) {
		this.direct_num = direct_num;
	}
	public Integer getAlternate_num() {
		return alternate_num;
	}
	public void setAlternate_num(Integer alternate_num) {
		this.alternate_num = alternate_num;
	}
	public String getTel_no() {
		return tel_no;
	}
	public void setTel_no(String tel_no) {
		this.tel_no = tel_no;
	}
	public String getDescribes() {
		return describes;
	}
	public void setDescribes(String describes) {
		this.describes = describes;
	}
	public String getEntity_type() {
		return entity_type;
	}
	public void setEntity_type(String entity_type) {
		this.entity_type = entity_type;
	}
	public String getEntity_id() {
		return entity_id;
	}
	public void setEntity_id(String entity_id) {
		this.entity_id = entity_id;
	}
	public Integer getValid_flag() {
		return valid_flag;
	}
	public void setValid_flag(Integer valid_flag) {
		this.valid_flag = valid_flag;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public String getCreate_oper_id() {
		return create_oper_id;
	}
	public void setCreate_oper_id(String create_oper_id) {
		this.create_oper_id = create_oper_id;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}
	public String getUpdate_oper_id() {
		return update_oper_id;
	}
	public void setUpdate_oper_id(String update_oper_id) {
		this.update_oper_id = update_oper_id;
	}
	public List<OmsStationLocation> getLocationList() {
		return locationList;
	}
	public void setLocationList(List<OmsStationLocation> locationList) {
		this.locationList = locationList;
	}

	public String getDistrict_name() {
		return district_name;
	}

	public void setDistrict_name(String district_name) {
		this.district_name = district_name;
	}

	public Integer getReview_state() {
		return review_state;
	}

	public void setReview_state(Integer review_state) {
		this.review_state = review_state;
	}

	public String getReview_text() {
		return review_text;
	}

	public void setReview_text(String review_text) {
		this.review_text = review_text;
	}

	public Integer getIs_rent()
	{
		return is_rent;
	}

	public void setIs_rent(Integer is_rent)
	{
		this.is_rent = is_rent;
	}
	
	public Integer getTotal_charge() {
		return total_charge;
	}
	
	public void setTotal_charge(Integer total_charge) {
		this.total_charge = total_charge;
	}
}

